<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml;charset=UTF-8"%>
<%@ page session="true"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<wml>
	<head>
		<meta http-equiv='Cache-control' content='max-age=0' />
		<meta http-equiv='Cache-Control' content='must-revalidate' forua='true' />
	</head>
	<card id='card1' title='${news.shortTitle}_手机环球网'>     
		<%@ include file="top4.jsp"%>
		<p>
			<!--
			导航条
			-->
			<a href="index.html?v=1">首页</a>&gt;<a href="pd.html?id=${news.pindao.father.id}&amp;v=1">${news.pindao.father.name}</a>&gt;<a href="lm.html?id=${news.pindao.id}&amp;v=1">${news.pindao.name}</a>
			<br/>
			<!--
			正文页-广告位-页头
			-->
			<c:set target="${DE}" property="blockId" value="14" />
			<%@ include file="blockcont.jsp"%>
			<!--
			正文
			-->
			${news.title}
			<br/>
			来源:${news.comefrom}
			<br/>
			时间：<fmt:formatDate value="${news.savetime}"
							pattern="yyyy-MM-dd HH:mm:ss" type="both" />
			<br/>
			<c:if test="${news.type==2}">
			   <img src="http://wapimg1.huanqiu.com${news.image.path3}" alt="图片"/>
				<br/>
				${news.image.alt}
				<br/>
					（${page}/${pm.totalPages}）张   <c:if test="${page<pm.totalPages}"><a href="view.html?id=${news.id}&amp;page=${page+1}&amp;v=1"> 下一张</a></c:if> <c:if test="${page>1}"><a href="view.html?id=${news.id}&amp;page=${page-1}&amp;v=1">上一张  </a></c:if> 
				<br/>
					 <a href="http://wapimg1.huanqiu.com${empty (news.image.path1)?(news.image.path):(news.image.path1)}">大图</a>．<a href="http://wapimg1.huanqiu.com${empty (news.image.path2)?(news.image.path):(news.image.path2)}">中图</a>．<a href="http://wapimg1.huanqiu.com${empty (news.image.path3)?(news.image.path):(news.image.path3)}">小图</a>
				<br/>
			</c:if>
			${news.content2}
			<br/>
				<c:if test="${pagination.totalPage>page}">
					<a href="view.html?id=${news.id}&amp;page=${page}&amp;r=2&amp;v=1">余下全文</a>   
				</c:if>
				<c:set target="${pagination}" property="pageUrl" value="view.html?v=1&amp;id=${id}" />${pagination.showWap1ContPage}
			<br/>
			分享：<a href="http://go.10086.cn/ishare.do?m=wt&amp;u=http://wap.huanqiu.com/view.html?id=${id}&amp;t=${news.title}&amp;sid=414917446121"><img src="wap/img/button_medium.png" alt=""/></a>
			<br/>
			<!--
			正文页-广告位-文末
			-->
			<c:set target="${DE}" property="blockId" value="15" />
			<%@ include file="blockcont.jsp"%>
			<!--
				评论
			-->
			<c:if test="${news.canComment==true}">
				<input name="cont" type="text" size="30" maxlength="60"/>
				<do type="accept" label="发言(70字)" name="do1">
		            <go href="comment.html?v=1" method="post">
		                <postfield name="act" value="comment"/>  
		                <postfield name="id" value="${news.id}"/>
		                <postfield name="cont" value="$(cont)"/>
		            </go>
		        </do>
				<br/>
				<a href="comment.html?act=more&amp;id=${news.id}&amp;v=1">&gt;&gt;全部评论</a>
				<br/>
				<c:forEach var="comment" items="${news.commentList}" varStatus="idx">
					${news.commentCount-idx.index}楼 :${comment.cont2}[<fmt:formatDate value="${comment.savetime}"
								pattern="MM-dd HH:mm" type="both" />]
								<c:if test="${!empty comment.browser}">来自${comment.browser}浏览器</c:if>
					<br/>
				</c:forEach>
			</c:if>
			<!--
			正文页-广告位-评论下方
			-->
			<c:set target="${DE}" property="blockId" value="16" />
			<%@ include file="blockcont.jsp"%>
			<c:choose>
			<c:when test="${!empty news.prev}">
				上一条：
				<br/>
				<a href="view.html?id=${news.prev.id}&amp;v=1">${news.prev.shortTitle}</a>
				<br/>
			</c:when>
			<c:otherwise>
				上一条：没有了<br/>
			</c:otherwise>
			</c:choose>
			<c:choose>
			<c:when test="${!empty news.next}">
				下一条：
				<br/>
					<a href="view.html?id=${news.next.id}&amp;v=1">${news.next.shortTitle}</a>
				<br/>
			</c:when>
			<c:otherwise>
				下一条：没有了<br/>
			</c:otherwise>
			</c:choose>
			<!--
			正文页-广告位-[相关新闻]前
			-->
			<c:set target="${DE}" property="blockId" value="17" />
			<%@ include file="blockcont.jsp"%>
			<!--
			导航条
			-->
			<a href="index.html?v=1">首页</a>&gt;<a href="pd.html?id=${news.pindao.father.id}&amp;v=1">${news.pindao.father.name}</a>&gt;<a href="lm.html?id=${news.pindao.id}&amp;v=1">${news.pindao.name}</a>
			<br/>
			【相关新闻】
			<br/>
			<c:forEach var="news" items="${news.relationList}">
				<a href="view.html?id=${news.id}&amp;v=1">${news.shortTitle}</a>
				<br/>
			</c:forEach>
			【${news.pindao.father.name}点击排行】
			<br/>
			<c:forEach var="news" items="${rankList}">
				<a href="view.html?id=${news.id}&amp;v=1">${news.shortTitle}</a>
				<br/>
			</c:forEach>
			【频道精选】 
			<br/>
			<c:set target="${DE}" property="blockId" value="12" />
			<%@ include file="blockcont.jsp"%>
			<!--
			正文页-广告位-页底
			-->
			<c:set target="${DE}" property="blockId" value="18" />
			<%@ include file="blockcont.jsp"%>
		</p>
		<%@ include file="foot.jsp"%>
		<p>
			<img src="http://113.31.27.131:8084/admin/dc.jsp?act=4&amp;v=wap1&amp;pd=${news.pindao.father.id}&amp;lm=${news.pindao.id}&amp;oid=${id}&amp;qd=${qd}" alt="" width="0" height="0"/>
		</p>
	</card>
</wml>